import request from "@/api/request"

// 分类导航数据获取
function indexaction(data){
    return request({
        url:"/category/indexaction",
        method:"get",
        data
    })
}
//通过分类的id来查询分类列表数据
function currentaction(data){
    return request({
        url:'/category/currentaction',
        method:'get',
        data
    })
}
export {
    indexaction,
    currentaction
}